package com.ruoyi.eqmonitor.smdtv.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.eqmonitor.smdtv.domain.Smdtv18;
import com.ruoyi.eqmonitor.smdtv.domain.Smdtv19;
import org.apache.ibatis.annotations.Param;

/**
 * @author ruoyi
 * @date 2023-03-06
 */
public interface Smdtv19Mapper extends BaseMapper<Smdtv19>{

    public List<Smdtv19> selectSmdtv19List(@Param("smdtv19")Smdtv19 smdtv19,
                                           @Param("tableName")String tableName,
                                           @Param("pageNum")Integer pageNum,
                                           @Param("pageSize")Integer pageSize);

    Long getTotal(@Param("smdtv19")Smdtv19 smdtv19,
                  @Param("tableName")String tableName);
    
    public Smdtv19 selectSmdtv19ByFid(@Param("fid")Long fid,@Param("tableName")String tableName);

    List<Smdtv19> getAll(@Param("tableName")String tableName);

    int save(@Param("smdtv19")Smdtv19 smdtv19,@Param("tableName")String tableName);

    int updateById(@Param("smdtv19")Smdtv19 smdtv19,@Param("tableName")String tableName);

}
